 <?php if(!isset($_SESSION['username'])){?>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="public/css/style2.css" rel="stylesheet" type="text/css" />
	<body>
	<div id="warper">
    	<div id="header">
    	
      </div><!--END header-->
    	<div id="than">
        	<div id="cottrai">
        	&nbsp;
          	 </div><!--END cottrai-->
            <div id="cotgiua"> 
            <div id="khung_group">
   		    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                <td>
             		<div id="title_group">
                    	<div id="ing_left"><img src="public/images/nut_muiten.png"/></div><div class="chu_title">ĐĂNG NHẬP</div> 
                    </div>
             		<div class="contain_group">
                    	<div id="contain_group_noidung">
                    	<div id="dangnhap">         
            	 <form name="dangnhap" method="post" action="">
                        <table>
                         <tr>
                                  <td >Tài khoản:</td>
                                  <td ><input type="text" name="username" id="username" size="10"/></td>
                                </tr>
                                <tr>
                                  <td> Mật khẩu:</td>
                                  <td ><input type="password" name="password" id="password" size="10" /></td>
                                </tr>
                                <tr>
                                  <td colspan="2" valign="top" >
                                    <input type="submit" name="ok" id="nut" value="Đăng Nhập" />
                                    <a href="index.php?mod=dangky">Đăng ký</a>
                                 </td>
                         </table>
                         </form>
                         </div>
                         </div>
                         </div>
            </div><!--END cotgiua-->
            <div id="cotphai">
          
            	
            </div><!--END cotphai-->
        </div><!--END than-->
        <div>
        		
        </div><!--END footer-->
        </div>
    </div><!--END warper-->
</body>

</html>
                    
                    
 <?php }?>
 <?php if(isset($_SESSION['username']))
						{?>
						 <table>
                         <tr>
                                  <td ><?php echo "Chào bạn ".$_SESSION['username']." !";?></td>
                             
                                </tr>
                                <tr>
                                  <td align="center"><?php echo "<a href='admin.php?mod=thoat' style='color:#F00'>Thoát</a>";?></td>
                       </tr>
                                
                         </table>
                         <?php }?>
